package com.sinping.qh.dto.admin.record;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.sinping.qh.dto.base.BaseDTO;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;

/**
 * @author Tiansx
 * @create 2018-07-03 12:46
 **/
@Data
public class ApiRecordImageDto extends BaseDTO implements Serializable {

    private static final long serialVersionUID = 4646232688637988928L;
    @NotBlank(message = "图片id不能为空")
    @JsonProperty(value = "image_id")
    private String imageId;
    @NotBlank(message = "记录类型不能为空")
    @JsonProperty(value = "type")
    private String type;

}
